﻿function nTabs(thisObj,Num)
{
    if(thisObj.className == "active")return;
    var tabObj = thisObj.parentNode.id;
    var tablist = document.getElementById(tabObj).getElementsByTagName("li");
        for(i=0; i <tablist.length; i++)
        {
            if (i == Num)
            {
               thisObj.className = "active"; 
               document.getElementById(tabObj+"_Content"+i).style.display = "block";
            }
            else
            {
               tablist[i].className = "normal"; 
               document.getElementById(tabObj+"_Content"+i).style.display = "none";
            }
        } 
}